package com.tywj.buscustomerapp.presenter.contract;

import com.amap.api.maps.model.LatLng;
import com.tywj.buscustomerapp.model.bean.StationBean;
import com.tywj.buscustomerapp.presenter.BasePresenter;

import java.util.List;

public class MapTicketContract {

    public interface MapTicketModel {
        List<StationBean> loadStation(String stationId);
        LatLng getBusLocation(String lineNumber, String city);
    }
    public interface MapTicketView {
        void showMsg(String msg);
        void showLoading();
        void closeLoading();
        void loadedStation(List<StationBean> s);
        void getedLocation(LatLng latLng);
    }
    public interface MapTicketPresenter extends BasePresenter {
        void startLoadStations(String stationId);
        void getBusLocation(String lineNumber,String city);
    }
}
